import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

const router = new Router({
  // base:'',
  mode:"history",
  //mode:"hash",
  routes: [
    { path: '/', name: 'Index', component: () => import('@/pages/index') },
    { path: '/message', name: 'Message', component: () => import('@/pages/message'), meta: { notCache: true, title: '消息' } },
  ]
})

export default router